home *** CD-ROM | disk | FTP | other *** search
/ Danny Amor's Online Library / Danny Amor's Online Library - Volume 1.iso / html / faqs / faq / aux-faq / part3 < prev    next >
Encoding:
Text File  |  1995-07-25  |  48.8 KB  |  1,092 lines

  1. Subject: Apple A/UX FAQ List (3/4)
  2. Newsgroups: comp.unix.aux,news.answers,comp.answers
  3. From: jim@jagubox.gsfc.nasa.gov (Jim Jagielski)
  4. Date: 23 Nov 94 14:16:14 GMT
  5.  
  6. Archive-name: aux-faq/part3
  7. Last-modified: Mon Nov 21 12:30:27 EST 1994
  8.  
  9.          This is the Frequently Asked Question (FAQ) list for A/UX 3.x.x
  10.  
  11.  
  12. \\\\\\\\\\\\\\\\\\\\\\ START OF PART 3 OF 4 //////////////////////
  13.  
  14. ===========================================
  15. A.14)  Accessing MacOS filenames under A/UX
  16. -------------------------------------------
  17.  
  18. A.14)  Using the command shell interface, I'm trying to access some Mac files
  19.        (that have strange names) but I can't; the program returns an error and
  20.        I can't access the file. What's going on?
  21.  
  22. The problem is that sh and csh don't understand the Mac "special" characters
  23. that are in the filenames. They don't expect filenames with characters that
  24. are represented by 8-bits. ksh is "8-bit clean" and thus would be able to
  25. access the file. For example, to remove Moire, just type:
  26.  
  27.     $ ksh           #this creates a Korn shell child
  28.     % rm M?ire      #match the weird 'o'
  29.     % exit          #get back in your old shell
  30.  
  31. You could also use emacs' DIRED or the Gnu File utilities to do this, but
  32. ksh is right here on the system so it's a bit easier. Of course, another very
  33. easy way is to use the MacOS interface and do the deletion|rename|whatever
  34. the "Mac" way. Please note that if what you are MacOS deleting is a symbolic
  35. link to a directory, what gets Trashed is actually the contents of the
  36. directory as well as the link! This is due to the fact that to the Finder,
  37. the link looks like a folder, and the entire thing gets deleted.
  38.  
  39. ============================================
  40. A.15)  Installer problems on 3rd party disks
  41. --------------------------------------------
  42.  
  43. A.15)  I heard the the Installer for 3.x.x works on "any" 3rd party
  44.        hard disk. Well, it doesn't on mine!
  45.  
  46. Well, the Installer will work with any 3rd party disk but there are a few
  47. wrinkles... The HD Setup application in the 3.x.x Installer is unique in that
  48. not only does it create A/UX partitions but it also creates the actual file
  49. systems in those partitions (basically it runs 'newfs'). Now if you have used
  50. some other HD utility program (such as SilverLining or FWB HDT) to create
  51. the partitions and then attempt to install A/UX on that disk, the Installer
  52. sees that the partitions are there and then _assumes_ that they were created
  53. by HD Setup and therefore have the file systems already created.  Of course,
  54. the file systems don't exist yet, just the partitions, so the installation
  55. fails.
  56.  
  57. You have a few options:
  58.  
  59.  a. Run the Installer on a newly formatted disk. This means that HD Setup
  60.     will do all the partitioning (etc...) and the installation will proceed.
  61.     Note that this means you will be "stuck" with the Apple drivers whenever
  62.     you are in the _real_ MacOS Finder.
  63.  
  64.  b. If you want to use the drivers on your HD utility (for stuff like,
  65.     maybe, password protection of partitions) then you have two (maybe three)
  66.     additional options:
  67.  
  68.    i. Use 'a' above to install A/UX. Then use your HD utility program to
  69.       "take over" the disk, disabling (or even removing) the Apple drivers
  70.       and installing it's own. Note that if there isn't enough space to
  71.       install it's drivers, most will attempt to "shrink" the MacOS partition
  72.       to make room. Most can do this with no problem, but why take the risk...
  73.       when you partition the disk, leave about 64K available as free space.
  74.  
  75.   ii. Use your HD utility to create the partitions. Then, before you
  76.       run the Installer, run 'newfs' "by hand" to create the file systems so
  77.       that the installation can proceed.
  78.  
  79.  iii. Use your HD utility to format (etc...) your disk and create
  80.       _only_ the MacOS partition. Now run the Installer. In most cases HD
  81.       Setup will work fine with the driver installed on the disk.  You can
  82.       now use it to create the A/UX partitions.
  83.  
  84.       <<ED: I _know_ this (iii) works with FWB HDT>>
  85.  
  86. Please note that HD SC Setup will only create the file systems if run under
  87. A/UX. If you run it under the MacOS, it can only partition...
  88.  
  89. ==========================
  90. A.16)  RetroSpect for A/UX
  91. --------------------------
  92.  
  93. A.16)  Since RetroSpect will no longer be bundled with A/UX 3.0.2,
  94.        how can I get it?
  95.  
  96. Very early reports indicated that RetroSpect for A/UX might be bundled with
  97. A/UX 3.0.2 as it is with the AWS95 version of 3.0.2. This is no longer the
  98. case (if it ever _was_ ). However, if you are a registered owner of RetroSpect
  99. 2.0, you can order an upgrade to RetroSpect A/UX. The cost is around $200
  100. and to order (or more info) you can call 1-800-225-4880 (have your
  101. registration number handy). International customers should call 510-849-0293.
  102.  
  103. Please note that if you have the Pisces card installed (with the WGS95), then
  104. _only_ RetroSpect A/UX will work and _only_ under the A/UX environment.  You
  105. will not be able to access your DAT under the real MacOS!
  106.  
  107. ==========================================
  108. A.17)  How can I configure CAP under A/UX?
  109. ------------------------------------------
  110.  
  111. For the answer, snag a copy of CAP.txt which is available on jagubox (in
  112. /pub/aux/Info for anon-ftp).
  113.  
  114. ===========================================
  115. A.18)  What are some good books about A/UX?
  116. -------------------------------------------
  117.  
  118. Except for Apple's complete manual set, there are no books specifically about
  119. A/UX. (Well, there's one but it's most probably out of print.  It is most
  120. definately out of date. It's called "The A/UX Handbook" by Jan Harrington
  121. and it's written for A/UX 2.0).
  122.  
  123. There are some _very_ good books about UNIX in general however. The best of
  124. the pack (IHMO) is "UNIX Administration Guide for System V" by Thomas and
  125. Farrow. Another good book is the "UNIX System Administration Handbook" by
  126. Nemeth, Snyder and Seebass. Since A/UX is a mix of SystemV and BSD both books
  127. are worthwhile ("UNIX Sys. Ad. Handbook" deals "mostly" with BSD systems).
  128. Another must-have is "UNIX Power Tools" from O'Reilly and Associates.
  129.  
  130. For general information about shells and programming there's no better book
  131. than "The UNIX Programming Environment" by Kernighan and Pike. For the 'ksh'
  132. shell, the best book I've encountered is "Learning the Korn Shell" by Bill
  133. Rosenblatt.
  134.  
  135. O'Reilly and Associates has a wide selection of UNIX-based books. You're
  136. bound to find what you're looking for from them. You can contact them either
  137. via Email (nuts@ora.com) or Phone (1-800-998-9938).
  138.  
  139. There is also a list (with over 160 entries) of UNIX books (and mini-reviews)
  140. located on ftp.rahul.net in 'pub/mitch/YABL/yabl'.
  141.  
  142. ========================================
  143. A.19)  'panic ialloc' error when booting
  144. ----------------------------------------
  145.  
  146. A.19)  When booting up, I get a "panic ialloc, dup alloc" (or other)
  147.        error message and A/UX won't boot. What can I do?
  148.  
  149. This is due to the fact that some file system damage exists on the Root file
  150. system. By default, A/UX Startup will only run 'fsck' on the root file system
  151. if the system is marked as "dirty." So even if damage exists, as long as the
  152. disk was cleanly 'umount'ed, 'fsck' won't check it out and fix it.
  153.  
  154. I recommend always having A/UX Startup fully check out the disk before booting
  155. A/UX. It takes a while, but it's worth it. To do this, choose Booting from
  156. the Preferences menu. Now change the command under "AutoRecovery" to "fsck
  157. /dev/default" (it was "fsck -y -p /dev/default").  When you do this, you'll
  158. notice that the radio button changes from "Check root file system" to "Custom
  159. command"... that's OK. After that, A/UX will always run 'fsck' on Root. If
  160. you are doing this, you might as well have A/UX run a full 'fsck' on all
  161. file-systems too. Check out fsck(1m) and fstab(4) for how to do this... one
  162. way is to just edit /etc/bcheckrc and remove the options to the "/etc/fsck"
  163. command.
  164.  
  165. If you don't want to do this but you do have some damage that prevents A/UX
  166. from booting, then you can cancel the boot-up process (either select "Exit"
  167. or hit "Command-."). Then type "fsck /dev/default" and then, when 'fsck' is
  168. done, type "boot" (or "launch"). Sometimes you must run 'fsck' a coupla times
  169. to fully fix the file system if there was extensive damage.
  170.  
  171. ========================================
  172. A.20)  Is traceroute available for A/UX?
  173. ========================================
  174.  
  175. This is kinda a trick question. The actual source for traceroute is readily
  176. available and compilable for A/UX. However, traceroute makes use of raw
  177. sockets. The original implementation of sockets by Berkeley contained a bug
  178. in raw sockets that prevented traceroute from working correctly. This bug was
  179. subsequently fixed in later versions of most UNIXes out there, but not in
  180. A/UX. However, Apple _does_ know about the fix, since they included a fixed
  181. 'bnet' driver with their distribution of traceroute for 2.0.1/3.0.  Even so,
  182. for some strange reason, they never incorporated this fix in later versions
  183. of the 'bnet' driver. Thus, the short answer is, except for 3.0, traceroute
  184. will not work under A/UX, due to the fact that Apple has neglected to fix
  185. a "buggy" 'bnet' driver, even though the know about the problem and the fix.
  186.  
  187. ==============================================
  188. A.21)  What is KEEPALIVE and how can I use it?
  189. ==============================================
  190.  
  191. KEEPALIVE is a method implemented in Berkeley sockets and TCP/IP (and in
  192. A/UX) that periodically polls a connected socket to determine if it's
  193. still "alive" or whether the client on the other end has dropped off.
  194. If the connected client doesn't respond, A/UX will consider the connection
  195. broken and send SIGPIPE to all connected processes. For this feature to
  196. be actually used, programs must set the SO_KEEPALIVE option on the
  197. socket.
  198.  
  199. One particular of A/UX is that although it supports KEEPALIVE, it doesn't
  200. send the first probe for _2 hours_! It's been suggested that it would be
  201. much better to shorten this value to something more realistic to take
  202. better advantage of this capability. However, to do this, you'll need to
  203. use 'adb' and adjust the kernel.
  204.  
  205. You can either patch the kernel itself (which requires that the patch be
  206. reapplied everytime the kernel is rebuilt) or patch /etc/install.d/boot.d/bnet
  207. to keep the patches. To patch the kernel to adjust to time to 1st probe, you
  208. need to use 'adb' to adjust the 'tcp_keepidle' parameter. To get the right
  209. value, multiply the number of minutes you want A/UX to wait until the 1st
  210. probe by 120, then change that value to hex. For example, to make A/UX sent
  211. the 1st probe every 5 minutes (5 x 120 = 600 = 0x258) do:
  212.  
  213.     adb -w -k /unix  << Foo
  214.     tcp_keepidle?D
  215.     tcp_keepidle?W 258
  216.     tcp_keepidle?D
  217.     $q
  218.     Foo
  219.  
  220. To patch the 'bnet' driver instead, do:
  221.  
  222.     adb -w /etc/boot.d/bnet << Foo
  223.     tcp_keepidle?D
  224.     tcp_keepidle?W 258
  225.     tcp_keepidle?D
  226.     $q
  227.     Foo
  228.  
  229. Now run 'newconfig -v' and reboot. 
  230.  
  231. ==============================================
  232. A.22)  What does this 'panic' message mean...?
  233. ==============================================
  234.  
  235. In general, most system panics are due to A/UX exhausting some kernel
  236. resource; to prevent these, you need to know which resource was used up
  237. and then use 'kconfig' to increase them:
  238.  
  239.  console panic message                  kernel parameter to increase
  240. -----------------------                ------------------------------
  241.  "panic: kmem_alloc"                    MAXCORE
  242.  "panic: getfreehdr"                    MAXHEADER
  243.  "timeout table overflow"               NCALL
  244.  "file: table is full"                  NFILE (NINODE as well, to same value)
  245.  "inode: table is full"                 NINODE (NFILE as well, to same value)
  246.  "m_expand returning 0"                 NMBUFS
  247.  "panic: out of mbufs"                  NMBUFS
  248.  "proc: table is full"                  NPROC (NREGION as well, 3x NPROC)
  249.  "Region table overflow"                NREGION (NPROC as well, NREGION/3)
  250.  "sptreserve: no kernel virtual space"  NSPTMAP
  251.  "allocbuf"                             SBUFSIZE (and NBUF as well)
  252.  "cannot allocate buffer cache"         NCLIST (and add RAM)
  253.  "cannot allocate buffer headers"       NBUF (and add RAM)
  254.  "getfreehdr"                           NPBUF
  255.  
  256. You may also run up against the processes-per-user limit as well. This
  257. can be increased by bumping up the MAXUP. Of course, you'll also need to
  258. increase NPROC, NREGION, NFILE and NINODE (and maybe others) as well to
  259. account for the increased number of processes...
  260.  
  261. ================================================
  262. A.23)  How often does A/UX sync the file system?
  263. ------------------------------------------------
  264.  
  265. +A/UX 3.0 performs a sync every minute. It's done by 'init' and the frequency
  266. +can't be changed.
  267.  
  268. +A/UX 3.0.1/3.0.2 does one every 30 seconds; cached blocks older than 30
  269. +seconds are flushed, therefore a block can be resident for between 30
  270. +and 59 seconds. If you want, you can use 'adb' to change the value of
  271. +'syncdsleep' to the number of seconds to sleep between flushes. Blocks
  272. +older than that will be flushed.
  273.  
  274. +A/UX 3.1/3.1.1 peforms a sync every second and flushes blocks that are
  275. +older than 30 seconds (i.e. a block can be resident for 1 to 31 seconds).
  276. +You can alter this by using 'adb' to change 'syndperiod' to the timeout
  277. +age (how old the block can be before it's flushed) and 'syncdsample'
  278. +to the wakeup period; by default, 'syncdperiod' is 30 and 'syncdsample'
  279. +is 1.
  280.  
  281. +Under A/UX 3.0.1/3.0.2/3.1.x, the kernel process 'syncd' can be seen via
  282. +'ps'.
  283.  
  284.  
  285. :::::::::::::::::::::::::::::::::::
  286. ::::: MAC-EMULATION QUESTIONS :::::
  287. :::::::::::::::::::::::::::::::::::
  288.  
  289. ======================================================
  290. M.01)  What Mac applications are compatible with A/UX?
  291. ------------------------------------------------------
  292.  
  293. It would be much easier to list the applications that aren't compatible.
  294. The list is much, much shorter...
  295.  
  296. The _vast_ majority of applications that run under System 7 will run under
  297. A/UX 3.x.x. In fact, before System 7 was released, A/UX 2.0.x was actually
  298. a good litmus test whether the application was 32-bit clean and would run
  299. under System 7. The only applications that are _sure_ to fail are those that
  300. try to access hardware _directly_, such as HD utilities or backup
  301. applications. A/UX 3.x.x provides both 24 and 32-bit modes, so if the
  302. application doesn't run under 32-bit mode, try it under 24-bit.
  303.  
  304. One key note: if the program uses a "complex" installation procedure (like
  305. for Canvas, Word, Stuffit, etc...) then you should not try to do a fresh
  306. install under A/UX. See the above Hints and Words Of Wisdom.
  307.  
  308. ===================================================
  309. M.02)  What screen-savers are compatible with A/UX?
  310. ---------------------------------------------------
  311.  
  312. AfterDark (2.0u and later) works well under A/UX but some displays may not
  313. have enough memory under Login so the "low-memory" display will be used.
  314.  
  315. Moire and FMbackup seem a bit incompatible. They both function fine together
  316. but the combination prevents FMbackup's "Finishing up..." window from
  317. displaying, although FMbackup does, in fact, finish up. Furthermore, Moire
  318. seems to screw-up Commando (both version 3.22 and 4.01 exhibit this problem)
  319. so all in all, Moire can't be recommended if you desire using Commando (the
  320. problem seems to be with all MacOS applications 'launch'ed from the
  321. CommandShell window). Using Moire for the Login screen works well however,
  322. since you can't access Commando or 'launch' applications from there.
  323.  
  324. Darkside is also available. Unlike other screen savers, Darkside is an
  325. application, not an INIT. This means it won't work under the Login screen.
  326. The latest version of Darkside is 4.0 and will _not_ work on Pre-System7
  327. systems, so don't attempt to use this under A/UX 2.0.1 or later.
  328.  
  329. Moire is available on jagubox.
  330.  
  331. ==========================================
  332. M.03)  Mounting MacOS partition under A/UX
  333. ------------------------------------------
  334.  
  335. M.03)  My MacOS partition mounts fine under MacOS but it doesn't show up
  336.        under A/UX... Why?
  337.  
  338. Whether or not a Mac partition mounts under A/UX depends on a number of
  339. factors...  Necessary conditions for a partition to mount are:
  340.  
  341.     1. The disk MUST be partitioned using the "new" partitioning scheme
  342.        detailed in Inside Macintosh V. There is still plenty of disk software
  343.        out there that uses the "old" scheme and this drives will not mount
  344.        under A/UX. Generic disk formatters that use the "new" scheme include
  345.        SilverLining and FWB Hard Disk Toolkit. Most major disk vendors supply
  346.        A/UX compatible formatting s/w.
  347.  
  348.     2. The partition must mount under MacOS BEFORE A/UX is booted. A/UX
  349.        only tries to mount partitions that were already when it was booted.
  350.        So, if you use an application to boot A/UX and this application runs
  351.        before a partition is mounted, A/UX won't mount it for you. If you
  352.        have a removable drive (such as SyQuest), you must insert the disk
  353.        before you boot A/UX... this means you can't swap cartridges under
  354.        A/UX.
  355.  
  356. Sometimes, the partition map isn't correct for the MacOS partition; In
  357. particular, the Logical size may be 0! You can use 'dp' to look at the
  358. partition map to see if this is the case. Assuming that the disk us SCSI #2,
  359. then:
  360.  
  361.     $ dp /dev/dsk/c2d0s31
  362.     P
  363.  
  364. Will print out the partition map entries. You can then see if the "Apple_HFS"
  365. partition type has the correct logical size.
  366.  
  367. =================================================
  368. M.04|M.05)  MacsBug, Interrupts and MacOS Freezes
  369. -------------------------------------------------
  370.  
  371. M.04)  I have MacsBug installed. How can I trigger it?
  372.                 -- or --
  373. M.05)  Sometimes my MultiFinder environment (and/or CommandShell) freezes
  374.        up; how can I unfreeze it? Should I hit the Interrupt switch?
  375.  
  376. The "Command-Control-e" keypress will kill the current MultiFinder environment
  377. and "unfreeze" (and kill) your MultiFinder|CommandShell.  Depending on whether
  378. your session-type is Console Mode or 32|24-Bit, you will either get returned
  379. to the console or get returned to the Login screen. You should _NOT_ press
  380. the Interrupt switch since this puts you into A/UX's kernel debugger. If you
  381. have MacsBug installed (which is recommended) then you can press
  382. "Command-Control-i" to enter it. This may enable you to clean some things up
  383. before the MultiFinder environment is blasted (even just using 'rs' under
  384. MacsBug helps...). If MacsBug is _not_ installed, the "C-C-i" behaves almost
  385. like a "C-C-e" except that it appears that A/UX doesn't need to "rebuild"
  386. your icon/Desktop "environment" the next time Mac-mode is entered.
  387.  
  388. To make sure that MacsBug installs correctly, it's name must be 'MacsBug'.
  389. A munged Debugger Prefs file can also prevent MacsBug from installing. This
  390. happened to me when upgrading to 3.0.1... To be safe, make a solid safe
  391. copy before upgrading.
  392.  
  393. ==================================
  394. M.06)  Phase 1 EtherTalk and A/UX?
  395. ----------------------------------
  396.  
  397. M.06)  My site is not upgraded to EtherTalk Phase 2 yet... can I use Phase 1
  398.        under A/UX?
  399.  
  400. A/UX only supports EtherTalk Phase 2. Upgrading to Phase 2 is recommended
  401. for a variety of reasons, but most importantly to ensure compatibility with
  402. new products from Apple and developers (of course, the added features over
  403. Phase 1 are nice too :).
  404.  
  405. =========================================
  406. M.07)  A/UX and MacOS file transfer hints
  407. -----------------------------------------
  408.  
  409. M.07)  I'm having trouble transfering files between A/UX and my MacOS disk.
  410.        Also, sometimes things get transfered fine, othertimes not. What's
  411.        going on?
  412.  
  413. If a file on the A/UX system has Type "TEXT", then when it is copied over to
  414. a MacOS disk, all 'newline' characters will be replaced by 'carriage returns'.
  415. Sometimes this is what you want (that is when the file is, in fact, a TEXT
  416. file). Othertimes it's not. Say for example you download a GIF file onto your
  417. A/UX disk. A/UX _might_ think it's a TEXT file. If you then copy it over to
  418. your MacOS disk and try to use Giffer on it, it won't work.  That's because
  419. the 'nl's where changed, which is _not_ what you want. The way to stop this
  420. is to convince A/UX that the file is of non-TEXT type.  There are many
  421. applications out there (including the A/UX included 'setfile' program) that
  422. lets you modify this. Do this before you copy the file over to your Mac OS
  423. disk and all will be Okay. If you aren't sure what the Type and Creator should
  424. be, you can just specify "BIN " and "A/UX" (note space in BIN) and the file
  425. won't be massaged during the copy|transfer. You'll still need to eventually
  426. change them to the correct ones for their particular application, but this
  427. way they'll be on your MacOS disk "uncorrupted."
  428.  
  429. Of course, you could also use 'setfile' to set the Type|Creator fields
  430. _before_ you copy the file to the MacOS disk and avoid an additional step.
  431.  
  432. Please note that if you downloaded a BINHEX file, you _do_ want to keep it
  433. as a TEXT file if you transfer it over to the MacOS. Once there, you can
  434. de-BINHEX it and unStuffIt (if it was a binhexed stuffit archive).
  435.  
  436. Please note that if you transfer Unix-type files (like tar archives or
  437. compressed files) between the A/UX file system and a MacOS disk (esp. if
  438. these files were "created" on a MacOS disk by a MacOS utility), the Unix
  439. application may no longer work correctly with it. This is because the MacOS
  440. resource information was attached to the file during the transfer (the file
  441. is in Apple Single format). To "fix" this, use 'fcnvt' to change the file
  442. to Apple Double format which will detach the resource fork and place it
  443. into a "%..." file.
  444.  
  445. See "Hints and Words Of Wisdom" (above) for hints in using ftp file transfers
  446. under A/UX.
  447.  
  448. ============================================
  449. M.08)  Where to install CDEVs and Extensions
  450. --------------------------------------------
  451.  
  452. M.08)  Do I install CDEVs and Extensions in the System Folder on
  453.        MacPartition or on the "/" A/UX disk.
  454.  
  455. To install these additions to A/UX, you will need to drag-copy them over to
  456. the A/UX System Folder. Usually, this is /mac/sys/System Folder on the "/"
  457. disk but it will also "appear" in your "home folder" icon. If you have a
  458. personal System Folder (i.e. $HOME/System Folder) then they should be dragged
  459. there. To add a screensaver to the Login screen, it must be dragged into the
  460. correct subfolder in /mac/sys/Login System Folder. That is, if it's an cdev,
  461. drag it into /mac/sys/Login System Folder/Control Panels.
  462.  
  463. ==================================
  464. M.09)  Booting A/UX under System 7
  465. ----------------------------------
  466.  
  467. M.09)  I heard that A/UX requires a special version of System 7 to boot...
  468.        Is this true?
  469.  
  470. A lot of people believe this but this is not true. There is no difference
  471. between the s/w on the MacPartition partition and the "real" System 7.  The
  472. only _real_ need for MacPartition is that the disk where A/UX Startup lives
  473. is where A/UX Startup looks for the A/UX Root partition. When A/UX Startup
  474. launches, it looks at "it's" disk and then looks for A/UX partitions on that
  475. disk. This means that you _don't_ need to boot-up from the MacPartition disk
  476. to boot A/UX. Start your Mac from your standard Startup disk and just
  477. double-click on A/UX Startup on the MacPartition icon.
  478.  
  479. You can even do without the MacPartition disk but telling A/UX Startup the
  480. exact SCSI number of the A/UX disk. You can do this a couple of ways:
  481.  
  482.     1. create a ROOT variable in A/UX Startup that points to the
  483.        root partition in this form: (SCSI-ID, 0, 0)
  484.  
  485.     2. Under the General Preferences menu, change the Root Directory
  486.        to (SCSI-ID, 0, 0).
  487.  
  488. The "device" file /dev/default points to the SCSI-ID of whatever disk is the
  489. MacPartition disk, so if you don't have one, you need to tell A/UX Startup
  490. it's "real" name. This is kinda messy since you'll need to preface a lot of
  491. stuff with this value: e.g.
  492.  
  493.     #startup cat (6,0,0)/etc/inittab
  494.  
  495. ==================================================
  496. M.10)  Screwed up Desktop after crashes or MacsBug
  497. --------------------------------------------------
  498.  
  499. M.10)  After the Mac environment crashes (or when I use MacsBug), the
  500.        Desktop gets all screwed up... Argg!!
  501.  
  502. Ron Flax of Apple (ron@afsg.apple.com) has written a very useful System
  503. Extension called FMbackup that creates backup copies of "valuable" Desktop
  504. files. When the MacOS-mode is entered, FMbackup restores these files. Thus,
  505. when your MacOS "crashes", you no longer need to rebuild the Desktop or reset
  506. all your Icons, window "types", etc... Please note that there seems to be
  507. some incompatibilty between FMbackup and Moire and QuickMail 2.5.1.
  508.  
  509. FMbackup (1.0.4) is available via anon-ftp on afsg.apple.com as well as
  510. aux.support.apple.com (in "unsupported").
  511.  
  512. %%% For more information about "FMbackup", please contact Ron via E-mail %%%
  513.  
  514. ===============================================
  515. M.11)  MacOS partitions on desktop only as root
  516. -----------------------------------------------
  517.  
  518. M.11)  My MacOS partition(s) only show up on the Desktop when I login
  519.        as root. Why?
  520.  
  521. Under the Preferences/General Menu of A/UX Startup, there is a radio-box
  522. called "Password checking". This is intended to provide some security for
  523. the A/UX Startup application. When enabled, two (default) things happen:
  524.  
  525.     1. A/UX Startup requires a password to open.
  526.     2. MacOS partition(s) are only mounted for root login.
  527.  
  528. Thus, to enable MacOS partition(s) to be available for all users, you must
  529. disable "Password checking". See auxstartuprc(4) for more info.
  530.  
  531. ==========================================
  532. M.12)  CommandShell ignoring 1st key press
  533. ------------------------------------------
  534.  
  535. M.12)  For some reason, my CommandShell only responds to a keyboard
  536.        event after it receives a second event. For example, typing "a"
  537.        won't show until I type something else or click the mouse.
  538.        What gives?
  539.  
  540. This is caused almost 99% of the time by an Extension|CDEV conflict. The way
  541. around this is to selectively disable each one at a time and see which one
  542. causes the problem... then delete it. "Wild Magic" is prone to do this as
  543. are older versions of CEToolbox.
  544.  
  545. =====================================
  546. M.13)  Can A/UX 3.x.x run System 7.1?
  547. -------------------------------------
  548.  
  549. A/UX 3.x.x's MacOS interface is based on System 7.0.1. You cannot install
  550. Sys 7.1 on A/UX (meaning you can't make A/UX run Sys 7.1) since there are a
  551. few system files that are fine-tuned and modified to work under A/UX. These
  552. would get overwritten if you tried to install 7.1 and you'd be out of luck.
  553. Please recall that this doesn't mean that you can't have 7.1 installed on
  554. your MacPartition, to be used when in MacOS-only mode. It just means that
  555. you can't have A/UX run 7.1.
  556.  
  557. Just to let you all know, if you really want to, you _can_ install 7.1 on
  558. A/UX 3.x.x and the MacOS-stuff will work pretty well. However, all hybrids,
  559. such as CommandShell or Commando, will die... not too useful...
  560.  
  561. ===============================================
  562. M.14)  What version of AppleTalk does A/UX run?
  563. -----------------------------------------------
  564.  
  565. This one is tricky. First of all, the version of AppleTalk under A/UX was
  566. designed specifically for A/UX... Don't try installing the Network Software
  567. Installer (NSI) disk. Bad Things will happen.
  568.  
  569. With that out of the way, when polled by InterPol, A/UX will respond that
  570. AppleTalk v56 is running. However, A/UX's version is really compatible with
  571. version 58. This will cause trouble with those applications that rely on
  572. version numbers rather than capability.
  573.  
  574. ===================================
  575. M.15)  Version of MacTCP under A/UX
  576. -----------------------------------
  577.  
  578. M.15)  I've just installed MacTCP 2.0.2|4 on A/UX and nothing works!
  579.        What's going on?
  580.  
  581. The copy of MacTCP that ships with A/UX is specifically written for A/UX.  You
  582. should _not_ replace it with any MacOS version of MacTCP! Doing so will cause
  583. mucho problems for A/UX. This is because A/UX's MacTCP simply offloads all
  584. networking functions down to A/UX itself which handles them.
  585.  
  586. Although it's true that some MacOS programs, such as Mosaic, "require" MacTCP
  587. 2.0.2|2.0.4, the vast majority work just fine with A/UX's version. In extreme
  588. cases, with programs that actually _check_ the version number, a little
  589. ResEdit hacking will fix things up. Basically, all you need to do is COPY the
  590. 'vers' resource of MacTCP 2.0.2|2.0.4 and PASTE it into MacTCP in your active
  591. A/UX System Folder (you want to 'Replace' the previous 'vers' resource). This
  592. will cause MacTCP to appear (via 'Get Info' and similar ways) to be version
  593. 2.0.4.
  594.  
  595.  
  596. :::::::::::::::::::::::::::::::::::
  597. ::::: DEVICES AND PERIPHERALS :::::
  598. :::::::::::::::::::::::::::::::::::
  599.  
  600. =======================================================
  601. D.01)  Can I use my Teac|DAT|etc tape drive under A/UX?
  602. -------------------------------------------------------
  603.  
  604. A/UX 3.x.x's 'tc' device driver (version 1.40) officially and "totally"
  605. supports the following tape drives:
  606.  
  607.     Qualstar 9 track
  608.     Archive 4mm DAT
  609.     Archive QIC
  610.     Teac DCAS 600
  611.     Exabyte 8500        <<ED: no go with the 8200s>>
  612.     DC2000
  613.  
  614. Please note that all the devices except for the Qualstar 9-tracks require
  615. 8k-blocking when used through 'tc'. This means you will need to use 'tcb' or
  616. 'tbb' as a filter ('dd' will also work during reading). You should also
  617. specify 8k blocking (or a multiple thereof) when using dump.bsd.
  618.  
  619. Jim Jagielski has created a replacement for 'tc' called 'NEWtc'. It fixes
  620. a lot of Apple's 1.4 bugs as well as to provide some nice new features. It
  621. supports all the above drives in addition to:
  622.  
  623.     CIPHER drives
  624.     Exabyte 8200, 8205 and 8505
  625.     HP DATs
  626.     SONY SDT line
  627.     Teac DCAS 150 and 60
  628.     WangDAT 1300 and 2600 series
  629.     WankTEK series 6130 (FS/HF), 5525 and 5050ES.
  630.  
  631. It also has a "Generic" entry that will attempt to drive tapes it doesn't
  632. know about. If you have a drive that isn't supported, let Jim know and he'll
  633. try to add it.
  634.  
  635. NEWtc is up to version 3.33 and is available on jagubox.  Included in the
  636. package are replacement copies of 'mt', 'tc.7.Z' and 'mt.1.Z'.
  637.  
  638. Tony Cooper has written a VERY nice double-buffering copier that greatly
  639. increases the speed of backups; it's called 'tbb.' It works quite nicely with
  640. 'tc' (assuming the correct blocking factors)... It's included with the 'NEWtc'
  641. package.
  642.  
  643. Craig Ruff (cruff@ncar.ucar.edu) has written a Teac device driver also, which
  644. works with both the 150 MB and 60 MB drives. You get the complete source so
  645. you may "adjust" the driver if you want for other drives.
  646.  
  647. The Teac driver is available on jagubox.gsfc.nasa.gov.
  648.  
  649. %%% For more information about 'tc', please contact Jim via E-mail %%%
  650. %%% For more information about 'teac', please contact Craig via E-mail %%%
  651.  
  652. ===============================
  653. D.02)  EtherNet cards and A/UX
  654. -------------------------------
  655.  
  656. D.02)  I have an EtherNet card that works fine under the Macintosh OS
  657.        but not under A/UX. Why?
  658.  
  659. The reason is because to access the card (which is seen as a device by A/UX),
  660. you need an A/UX device driver for it. This is NOT the same as the stuff you
  661. had to install under the MacOS for it to work. Now A/UX includes drivers for
  662. the Apple EtherNet card (they aren't installed by default though), but they
  663. don't work with most of the 3rd party cards except for the 3Com "EtherLink
  664. NB", the Asante "MacCon" and the StarNet Networking cards. They are 100%
  665. register compatible with their Apple counterparts, so you can use Apple's
  666. 'ae' driver with them. Drivers for the EtherPort II cards are available via
  667. anon-ftp on jagubox. However, the drivers for the "old" EPII cards (full
  668. length) only support TCP/IP (they were written for A/UX 1.1 but will work
  669. under 2.0.x). As far as other cards are concerned, you will have to ask the
  670. vendor for A/UX drivers for it.
  671.  
  672. Please note that there have been numerous reports about problems with the
  673. EtherPortII cards, A/UX and the IIfx and IIsi... you are warned :)
  674.  
  675. =======================================
  676. D.03)  Can I use my scanner under A/UX?
  677. ---------------------------------------
  678.  
  679. A/UX 3.x.x fully supports the Apple OneScanner as well as providing better
  680. support for SCSI devices. A/UX will still use its own SCSI driver, however.
  681.  
  682. =====================================
  683. D.04)  Using SyQuest disks under A/UX
  684. -------------------------------------
  685.  
  686. D.04)  I'm trying to use a SyQuest drive under A/UX but it refuses to work.
  687.        I keep on getting a "more data than device expected" error message.
  688.        What's wrong?
  689.  
  690. The "problem" is with the generic SCSI disk driver under A/UX. For SCSI
  691. drives, there are certain parameters that may be adjusted by the user; these
  692. parameters are grouped in "pages." One such page concerns how the disk
  693. responds to and recovers from errors: the Error Recovery Page. A/UX expects
  694. the parameters in this page to have certain values. Now the vast majority of
  695. SCSI disks have the values set as expected, but this isn't the case with
  696. SyQuest drives. There is one parameter (PER) which is opposite than expected
  697. by A/UX. When A/UX trys to set this value to what it wants, however, the
  698. SyQuest drive reads this "request" wrong (the request is 16 bytes but the
  699. SyQuest only reads 4, so the SCSI Manager reports the error.
  700.  
  701. Tony Cooper (tony@marc.cri.nz) has written a Mac application which sets the
  702. Error Page values correctly: Fix Error Page. This application must be used
  703. under the MacOS. It can be found on jagubox.gsfc.nasa.gov as well as on
  704. aux.support.apple.com (aux.patches/unsupported/2.0). You can also use the
  705. FWB Hard Disk Toolkit - World Control Application to enable the PER bit in
  706. the recovery page (Page #1).
  707.  
  708. This program may also be a help in getting some SCSI-2 devices, such as disks
  709. and opticals, to work under A/UX. If A/UX sees that the Error Page parameters
  710. are incorrect, it will attempt to send a Mode Select command to fix them,
  711. however it will use the SCSI-1/CCS page length instead of the SCSI-2 length,
  712. which, depending on the drive, will not work.
  713.  
  714. By the by, here is the /etc/disktab entry for SyQuest:
  715.  
  716.     # SyQuest disk
  717.     #
  718.     Syquest|syquest|S45:\
  719.        :ty=winchester:ns#34:nt#2:nc#1275:
  720.  
  721. ==================================================
  722. D.05)  What 3-button mice work under A/UX (and X)?
  723. --------------------------------------------------
  724.  
  725. The Gravis SuperMouse was a 3-button mechanical mouse that was completely
  726. configurable and compatible with A/UX and was at the time your best bet.  At
  727. present, however, the Gravis SuperMouse is no longer manufactured or supported
  728. at _all_ by Gravis :(
  729.  
  730. Older versions of LogiTech's MouseMan are fully compatible with A/UX, as some
  731. people have been using them with no problems. However, newer versions aren't
  732. as nice, since you can't reconfigure the button binding.
  733.  
  734. Mouse System's A-3 mouse is "fully" compatible with A/UX, but is hard-wired
  735. configured for A/UX as: Left Button = Actual Mouse Button; Middle Button =
  736. Left Arrow; Right Button = Right Arrow. The "A-3" power cdev doesn't work
  737. under A/UX. The A-3 mouse is an optical unit with a nice feel.
  738.  
  739. Please note that A/UX 2 & 3 only support a subset of the ADB Manager. Thus
  740. there are a few ADB devices that may not work under A/UX.
  741.  
  742. =====================================================
  743. D.06)  Is it worth getting a cache card for the IIci?
  744. -----------------------------------------------------
  745.  
  746. Absolutely! The card makes an amazing difference in performance. However,
  747. this performance increase is reduced when an external monitor is used. For
  748. more information about extensive benchmarking with the IIci and cache
  749. cards, you can snag the benchmarking results via anon-ftp on
  750. redstar.dcs.qmw.ac.uk in archive/papers.
  751.  
  752. ====================================================================
  753. D.07)  How can I figure out the /etc/disktab entry for my hard disk?
  754. --------------------------------------------------------------------
  755.  
  756. Many hard disk applications will reveal the disk drive geometry for you:
  757. FWB Hard Disk ToolKit is very good (SilverLining is a bit wrong on the number
  758. of tracks... it includes spares). What you are really looking for are the
  759. total number of cylinders ('nc'), the number of sectors per track ('ns') and
  760. the number of tracks ('nt'). Also, I'm maintaining a list of /etc/disktab
  761. entries. If you have any, send it to me and I'll add them.
  762.  
  763. The file is available on jagubox.
  764. <<ED: I need _LOTS_ of entries>>
  765.  
  766. Just a note: the number of tracks ('nt') is equal to the number of heads.
  767.  
  768. ==========================================
  769. D.08)  Which serial cards work under A/UX?
  770. ------------------------------------------
  771.  
  772. There are a number of serial cards that "work" with A/UX. The Apple serial
  773. card is NOT one of them.
  774.  
  775.  o There is the Digiboard Nu/Xi, which comes in 4 and 8 port versions.  Brand
  776.    new drivers for the card have been coded and are available. This version
  777.    (3.3.0) however, doesn't currently work with CSlip but otherwise works
  778.    great.  You can snag the drivers via anon-ftp from digibd.com (which is
  779.    192.83.159.193) in drivers/mac.
  780.  
  781.    Technical Support for DigiBoard is 612-943-9020. If you'd like to contact
  782.    the main engineer responsible for the drivers, contact Brian Westley at the
  783.    following Email addresses:
  784.  
  785.       merlyn@digibd.com
  786.       ...uunet!digibd!merlyn
  787.       AppleLink: merlin
  788.  
  789. o There is also the Creative Solutions, INC (CSI) HQS/HDS v4.4/4.5 Hurdler
  790.   Serial Nubus cards. These cards have both pure UNIX _and_ MacOS device
  791.   drivers (i.e. a 'newconfig' code module and a MacOS INIT/DRVR module). The
  792.   A/UX drivers support baud rates up to 57.6k and 115.2k using the 'B50' and
  793.   'B75' flags, true hardware handshaking while monitoring DCD for Dialup
  794.   security, and full compatibility with CSlip and PPP and their associated
  795.   daemons. The A/UX-MacOS drivers are fully compatible with all CommToolbox
  796.   functions and serial drivers. These are very nice cards :)
  797.  
  798.   The recommended cable-pin out for these cards is:
  799.  
  800.         Mac          Modem
  801.     Male Mini-Din-8  DB-25
  802.     --------------------------------------------
  803.     1 (HskO)  ---   4   (RTS)
  804.     2 (HskI)  ---   5   (CTS)
  805.     3 (TxD-)  ---   2   (TxD)
  806.     4 (GDN)   ---   7   (SigGnd)
  807.     5 (RxD-)  ---   3   (RxD)
  808.     6 (TxD+)  ---   7   (SigGnd)or(NC)
  809.     7 (GPi)   ---   8   (DCD)
  810.     8 (RxD+)  ---   7   (SigGnd)
  811.                     6 -- (DSR)
  812.                         |
  813.                    20 -- (DTR)
  814.  
  815.   Also, for logins, you should be using the FLOW flag in the gettydefs file as
  816.   for example:
  817.  
  818.    fl_38400#B38400 # B38400 SANE2 TAB3 # ~MODEM ~DTR FLOW #\r\nlogin: #fl_38400
  819.  
  820.   For further info about the drivers, or for _any_ help is using this card,
  821.   please contact Alan M. Friedman at Intelligent Interfaces, Inc:
  822.  
  823.      alan@kether.intellint.com
  824.      AppleLink: D5620
  825.  
  826.   You can contact CSI at csi@applelink.apple.com (AppleLink: CSI).
  827.  
  828.  o Another is Paul Campell's Taniwha CommCard. This card does indeed work
  829.    with all versions of A/UX including 3.x.x. It has special support for
  830.    UUCP.  It has a few mysterious and not very important problems. It's an
  831.    excellent buy. The only problem is, it's not on the market anymore. If you
  832.    can get one used, though, it's worth getting. The one downside is that,
  833.    like Apple's ports, it won't SIMULTANEOUSLY support modem and hardware flow
  834.    control. It is immune to many of the nasty bugs which affect the built-in
  835.    serial ports, including the two (at least) which can crash the kernel.
  836.  
  837.  o Yet another is the Applied Engineering QuadraLink serial card. According
  838.    to sources, the board was super easy to setup and use. It also appears
  839.    very solid as far as performance.
  840.  
  841.    The AE QuadraLink card, like the CommCard and the Apple ports, can't do
  842.    both hardware handshaking and modem control at the same time. No hardware
  843.    patch kit will be developed for the AE card...
  844.  
  845. ===========================================
  846. D.09)  lpr printer problems with LW IIg|IIf
  847. -------------------------------------------
  848.  
  849. D.09)  I'm using a LaserWriter IIg with A/UX 3.x.x and whenever I print some-
  850.        thing to it through 'lpr', the first line of the page is cut off. Why?
  851.  
  852. This only shows up on versions of the IIg (and IIf) with less than 5MB RAM.
  853. The reason is because this makes the LW default to PhotoGrade-mode. You can
  854. do 2 things to fix this:
  855.  
  856.     1. Using the LaserWriter Utility program, disable PhotoGrade.
  857.        Since one of the main advantages of these LW's is PhotoGrade,
  858.        this option is kinda unpalatable.
  859.  
  860.     2. If you are _only_ using "Letter" mode under 'lpr', then you
  861.        can edit /usr/lib/ps/pstext.pro to include the following line
  862.        between "% RCSID:..." and "/StartPage...":
  863.  
  864.        %!PS-Adobe-1.0
  865.        % Z%Copyright Apple Computer 1987\tVersion 1.1 of pstext.pro on\
  866.          87/05/04 19:02:25
  867.        %%Creator: pstext
  868.        %%DocumentFonts: Courier
  869.        % RCSID: $Header: pstext.pro,v 2.1 85/11/24 12:19:55 shore Rel $
  870. ====>>>letter 
  871.        /StartPage{/sv save def 48 760 moveto}def
  872.  
  873. This will fix the problem and make it usable again.
  874.  
  875. ===============================
  876. D.10)  'tc' errors and blocking
  877. -------------------------------
  878.  
  879. D.10)  I'm trying to access my tape drive using 'tc' (with something like
  880.        "find . -print | cpio -o > /dev/rmt/tc1") but it doesn't work...
  881.  
  882. Except for 9-track magtapes, all I/O to tape drives associated with the 'tc'
  883. device files _must_ be blocked at 8k. The 'tcb' program does just that so
  884. that should be included. For example, to write:
  885.  
  886.     $ find . -print | cpio -o | tcb > /dev/rmt/tc1
  887.  
  888. And to read:
  889.  
  890.     $ tcb < /dev/rmt/tc1 | cpio -i
  891.  
  892. You can get better performance if you increase the buffer size (just make
  893. sure that it's a multiple of 8k). For example, you could use 'dd' as your
  894. blocking filter with a 'bs=10x8k'.
  895.  
  896. Jim Jagielski's replacement for 'tc' allows for 'tc' to use the tape drive's
  897. own physical block size as the logical block size for I/O. Doing so results
  898. in a bit of a performance hit so it isn't recommended for normal use. You
  899. should use the "mode" only if you need to read tapes written by 'st' or by
  900. another platform. Please note you are still limited to an I/O block size of
  901. at least the physical block size, which can be anything for 512 to 1024 to
  902. 8192 bytes.
  903.  
  904. %%% For more information about 'tc', please contact Jim via E-mail %%%
  905.  
  906. =========================================================
  907. D.11)  What CD-ROM drives are compatible with A/UX 3.x.x?
  908. ---------------------------------------------------------
  909.  
  910. The original Apple CD-ROM drive (CD SC) is 100% compatible with A/UX as is
  911. the newer CD-150. Older versions of the CD-300 (those with pre 1.8f ROMS)
  912. would cause problems with A/UX and would do little more than allow you to
  913. install A/UX, making it almost useless for day-to-day use. One of the fixes
  914. of 3.0.2 is _much_ better support for all versions of the CD-300, although
  915. Apple does suggest that you update the CD-ROM drive's ROMs with the latest
  916. version if you have problems. I've heard that you can get the latest ROMs by
  917. calling 1-800-SOS-APPL or seeing your Apple dealer. The following are also
  918. known to be 100% compatible (meaning you can use them to install A/UX as well
  919. as when running A/UX):
  920.  
  921.     The Toshiba XM3201, XM3301B XM3401B
  922.     DEC RRD42, RRD40 (LMSI CM-212)
  923.     Denon DRD 253
  924.     Sun CD-ROM (Sony CDU-8012?)
  925.     CD-Technologies Porta-Drive CD-ROM
  926.     Chinon CDA-431
  927.  
  928. 3.1 adds support for NEC CD-ROMs; previous versions of A/UX weren't able to
  929. work with these units due to their physical block size.
  930.  
  931. ==================================
  932. D.12)  Audio CD support under A/UX
  933. ----------------------------------
  934.  
  935. D.12)  I've tried to install the CD Remote extension to A/UX so that
  936.        I can play audio CD's, but it doesn't work...
  937.  
  938. By itself, A/UX doesn't support audio CDs. However, there are 2 software
  939. packages that add this capability:
  940.  
  941. The first package is xmcd/cda, which provides both a X-Motif (xmcd) and
  942. generic command-line (cda) interface for playing audio CDs under A/UX.
  943. The package requires that the 'devscsi' kernel package be installed, so
  944. it will work under 3.x.x. xmcd/cda was written by Ti Kan (ti@bazooka.amb.org).
  945. and can be found on ftp.x.org:/contrib/applications/xmcd.
  946.  
  947. The second package is a MacOS-patch to enable you to use the CD Remote
  948. application. Kelly King and Andrew Kass (at Apple), however, have written the
  949. "AUX SCSI Toolbox" extensions that emulates the Mac SCSI Manager. With this
  950. extension installed, you can run applications and drivers that talk to the
  951. Mac SCSI Manager, including the Apple CD-ROM driver! With this extension, you
  952. can listen to your audio CDs under A/UX! This is the latest version of the
  953. extension: 1.0b4.
  954.  
  955. "AUX SCSI Toolbox" is available via ftp on jagubox under:
  956.  
  957.    /pub/aux/Apple.fixes/unsupported/3.0.x/SCSItlbx.tar.gz
  958.  
  959. Please read the included ReadMe before installing and using it.
  960.  
  961. ==================================================
  962. D.13)  What UNIX CD-ROM formats does A/UX support?
  963. --------------------------------------------------
  964.  
  965. Other than the "normal" A/UX SysV and UFS file system type, A/UX supports
  966. ISO-9660 file system format CD-ROMs. However, you can only access these CDs
  967. from the MacOS environment; you can't "mount" them in the normal UNIX-way. As
  968. distributed, A/UX doesn't include the needed Extensions that allow the MacOS
  969. Environment from recognizing these CDs. To fix this, you need to copy the
  970. following Extensions from the Apple CD-ROM Software disks (version 3.2 or
  971. later) to the System Folder of the user(s) that need access to these CDs:
  972.  
  973.    o Foreign File Access
  974.    o High Sierra File Access
  975.    o ISO 9660 File Access
  976.  
  977. The docs are a little blurry on this (even though it's specifically mentioned
  978. in Chapter 5 of the "Setting Up Accounts and Peripherals for A/UX") since they
  979. say that you don't need to add any _kernel_ resources...
  980.  
  981. One of A/UX's quirks is that all files on ISO-9660 CDs are "seen" as TEXT
  982. type files. This causes troubles with binary files since when you try to
  983. drag them over to the "/" disk, A/UX will perform it's \r->\n translation.
  984. To avoid this from happening, you can:
  985.  
  986.    1 Drag the file(s) over to a MacOS HFS disk. Then use ResEdit (or something
  987.      similar) to change the file Creator to "A/UX" and Type to "BIN " (note the
  988.      space!). Now you can drag the file over to "/".
  989.  
  990.    2 Use ResEdit to look at the NCOD resource in the "ISO 9660 File Access"
  991.      extension. Open the "Main" resource in NCOD. Now change the string
  992.      "TEXT" to "BIN " and "hscd" to "A/UX". Save, logout and login. This
  993.      changes things so that _all_ files on the CD-ROM appear as non-Text,
  994.      CommandShell files, so that A/UX will _not_ perform any translation.
  995.  
  996. Again, please note that A/UX will not recognize _any_ of the audio capability
  997. of CD-ROMs unless you add the "AUX SCSI Toolbox" extension described in Q&A
  998. #D.12.
  999.  
  1000. ====================================================================
  1001. D.14)  How can I add printers other than those available in Chooser?
  1002. --------------------------------------------------------------------
  1003.  
  1004. <<ED: From a post by Antonio Ordonez (antonio@apple.com)>>
  1005.  
  1006. If the printer is in another zone, it is necessary to define the zone in
  1007. which the printer is located with a full path name.  You can then "hardwire"
  1008. a printer name including the zone for a particular printer queue.
  1009.  
  1010. The best way to do this is to make a copy the /usr/spool/lpd/AppleTalk
  1011. directory and give it a name related to the printer we want to use. Modify
  1012. the file ifilter/ofilter/nfilter  (it is the same file with 3 hard links) in
  1013. this directory. Also modyfy the /etc/printcap file to create a new printer
  1014. queue.
  1015.  
  1016. I will use my system as an example so please modify to reflect your
  1017. situation.
  1018.  
  1019. The first thing to do is to create the new directory and put the correct
  1020. files in it. NOTE that I am using mknod to create the pipe file.
  1021.  
  1022. mkdir Idaho
  1023. chown daemon Idaho
  1024. chgrp daemon Idaho
  1025. cp AppleTalk/ifilter Idaho/ifilter
  1026. cd Idaho
  1027. ln ifilter ofilter
  1028. ln ofilter nfilter
  1029. mknod pipe p
  1030. chown daemon *
  1031. chgrp daemon *
  1032.  
  1033. In my case I have a printer called "Idaho Spooler" in the zone "SCV CAM2
  1034. 2nd W"  while my system is on the zone "SCV CAM2 2nd E", so all I do is to
  1035. modify the /usr/spool/lpd/Idaho/ifilter file (you can use vi or
  1036. TextEditor)
  1037. and change the line that defines the value for Printer from
  1038.  
  1039. Printer=`basename "cwd"`
  1040.         -to-
  1041. Printer="Idaho Spooler:LaserWriter@SCV CAM2 2nd W"
  1042.  
  1043. In the /etc/printcap file I copy the entry for AppleTalk (all six lines) and
  1044. change any reference to AppleTalk to the name I used for my new directory.
  1045. Again, in my case I used "Idaho" as the directory name so my /etc/printcap
  1046. file looks like:
  1047.  
  1048.   #
  1049.   # pragma ident "@(#)lpr:printcap        5.4 90/03/27 "
  1050.   #
  1051.   # Copyright 1990 Apple Computer, Inc.
  1052.   # All Rights Reserved.
  1053.   ##
  1054.   # Remote AppleTalk printer (selected by Chooser)
  1055.   # For an AppleTalk printer which doesn't support PostScript remove last 2
  1056.   names.
  1057.   lp|at|AppleTalk|postscript|PostScript:\
  1058.           :lp=/dev/null:\
  1059.           :if=/usr/spool/lpd/AppleTalk/ifilter:\
  1060.           :of=/usr/spool/lpd/AppleTalk/ofilter:\
  1061.           :nf=/usr/spool/lpd/AppleTalk/nfilter:\
  1062.           :sd=/usr/spool/lpd/AppleTalk:
  1063.   lp2|Idaho:\
  1064.           :lp=/dev/null:\
  1065.           :if=/usr/spool/lpd/Idaho/ifilter:\
  1066.           :of=/usr/spool/lpd/Idaho/ofilter:\
  1067.           :nf=/usr/spool/lpd/Idaho/nfilter:\
  1068.           :sd=/usr/spool/lpd/Idaho:
  1069.  
  1070. After all these steps are completed restart the printer queue with the command
  1071.  
  1072.     lpc restart all
  1073.  
  1074. Now you should be able to send a print job to the printer in the other zone
  1075. with the command
  1076.  
  1077.     lpr -Plp2 /etc/passwd
  1078.  
  1079. or
  1080.  
  1081.     lpr -PIdaho /etc/passwd
  1082.  
  1083. Hope this helps
  1084.  
  1085. //////////////////////  END OF PART 3 OF 4  \\\\\\\\\\\\\\\\\\\\\\
  1086. -- 
  1087. #include <std/disclaimer.h>
  1088.   |     Jim Jagielski      |  jim@jagubox.gsfc.nasa.gov  |  V: 301 286-5964  |
  1089.   | NASA/GSFC, Code 734.4  |     Greenbelt, MD 20771     |  F: 301 286-1719  |
  1090.                    << We do _not_ touch the DON'T button! >>
  1091.  
  1092.